package org.jmh.auth.mapper;

import org.jmh.auth.domain.Role;
import org.jmh.auth.dto.RoleDTO;
import org.jmh.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lingfeng
 * @since 2024-05-15
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Long>  queryPermissionById(Long id);

    void auth(RoleDTO roleDTO);

    void deleteAuth(Long id);

    void auth1(RoleDTO roleDTO);

    List<Long> queryMenuById(Long id);

    void deleteAuth1(Long id);
}
